<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Duty_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-duty_id" data-rule="required" data-source="duty/index" class="form-control selectpage" name="row[duty_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Date_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-date_id" data-rule="required" data-source="date/index" class="form-control selectpage" name="row[date_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pt_person_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pt_person_id" data-rule="required" data-source="pt/person/index" class="form-control selectpage" name="row[pt_person_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pt_depart_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pt_depart_id" data-rule="required" data-source="pt/depart/index" class="form-control selectpage" name="row[pt_depart_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Depart_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-depart_name" class="form-control" name="row[depart_name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pt_job_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pt_job_id" data-rule="required" data-source="pt/job/index" class="form-control selectpage" name="row[pt_job_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Job_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-job_name" class="form-control" name="row[job_name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Clock_in')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-clock_in" data-rule="required" class="form-control" name="row[clock_in]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Clock_out')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-clock_out" data-rule="required" class="form-control" name="row[clock_out]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Stage_total')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-stage_total" class="form-control" name="row[stage_total]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Salary_mode')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-salary_mode" class="form-control selectpicker" name="row[salary_mode]">
                {foreach name="salaryModeList" item="vo"}
                    <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Salary_rule')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-salary_rule" class="form-control" name="row[salary_rule]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Salary')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-salary" data-rule="required" class="form-control" step="0.01" name="row[salary]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Added1_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-added1_fee" data-rule="required" class="form-control" step="0.01" name="row[added1_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Added2_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-added2_fee" data-rule="required" class="form-control" step="0.01" name="row[added2_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Road_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-road_fee" data-rule="required" class="form-control" step="0.01" name="row[road_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Self_sevice_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-self_sevice_fee" data-rule="required" class="form-control" step="0.01" name="row[self_sevice_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Salary_payable')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-salary_payable" data-rule="required" class="form-control" step="0.01" name="row[salary_payable]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Require_duration')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-require_duration" data-rule="required" class="form-control" name="row[require_duration]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Require_calc_duration')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-require_calc_duration" data-rule="required" class="form-control" name="row[require_calc_duration]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Actual_duration')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-actual_duration" data-rule="required" class="form-control" name="row[actual_duration]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Actual_calc_duration')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-actual_calc_duration" data-rule="required" class="form-control" name="row[actual_calc_duration]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Reward_month')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-reward_month" data-rule="required" class="form-control" step="0.01" name="row[reward_month]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Salary_total')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-salary_total" data-rule="required" class="form-control" step="0.01" name="row[salary_total]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
